/*
 * IImageController.h
 *
 *  Created on: Nov 30, 2009
 */

#ifndef IIMAGECONTROLLER_H_
#define IIMAGECONTROLLER_H_

#include "ImageEntity.h"

class IImageController {
public:
	/*
	 * @precondition imagePath is a valid image path and, user can read this file
	 * @return a imageEntity that represents this image file
	 */
	virtual ImageEntity *getImage(string imagePath) = 0;

	/**
	 * @precondition imagePath is a valid image path and, user can writer in this path
	 * @postcondition	a new image is created in imagePath path
	 */
	virtual void saveImage(string originalPath, string imagePath, ImageEntity *imageEntity) = 0;
};

#endif /* IIMAGECONTROLLER_H_ */
